package org.example.service;

import org.example.domain.CarDictType;

import java.util.List;

public interface CarDictTpeService {

    List<CarDictType> list(CarDictType carDictType);

    boolean add(CarDictType carDictType);

    boolean update(CarDictType carDictType);

    boolean delete(Integer dictId);

    List<CarDictType> listAll();

    void insertBach(List<CarDictType> cacheList);

    List<CarDictType> selectTypeById(Integer dictId);

    List<CarDictType> selectTypeByType(String dictType);
}
